home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1995 May / PC Answers CD-ROM 7 (Future Publishing) (May 1995).iso / vbits / code / shaw / vbits32 / vbitsvw.h < prev   
Encoding:
C/C++ Source or Header  |  1994-12-13  |  1.3 KB  |  53 lines

  1. // vbitsvw.h : interface of the CVbits32View class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CVbits32View : public CEditView
  6. {
  7. protected: // create from serialization only
  8.     CVbits32View();
  9.     DECLARE_DYNCREATE(CVbits32View)
  10.  
  11. // Attributes
  12. public:
  13.     CVbits32Doc* GetDocument();
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Overrides
  19.     // ClassWizard generated virtual function overrides
  20.     //{{AFX_VIRTUAL(CVbits32View)
  21.     public:
  22.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  23.     protected:
  24.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  25.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  26.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  27.     //}}AFX_VIRTUAL
  28.  
  29. // Implementation
  30. public:
  31.     virtual ~CVbits32View();
  32. #ifdef _DEBUG
  33.     virtual void AssertValid() const;
  34.     virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36.  
  37. protected:
  38.  
  39. // Generated message map functions
  40. protected:
  41.     //{{AFX_MSG(CVbits32View)
  42.     afx_msg void OnViewNewdialog();
  43.     //}}AFX_MSG
  44.     DECLARE_MESSAGE_MAP()
  45. };
  46.  
  47. #ifndef _DEBUG  // debug version in vbitsvw.cpp
  48. inline CVbits32Doc* CVbits32View::GetDocument()
  49.    { return (CVbits32Doc*)m_pDocument; }
  50. #endif
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53.